/**
 */
package org.mro.grib.model.files.firstEdition.sections;

import java.nio.ByteBuffer;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Binary Data Section</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link org.mro.grib.model.files.firstEdition.sections.BinaryDataSection#getStartOffset <em>Start Offset</em>}</li>
 *   <li>{@link org.mro.grib.model.files.firstEdition.sections.BinaryDataSection#getEndOffset <em>End Offset</em>}</li>
 *   <li>{@link org.mro.grib.model.files.firstEdition.sections.BinaryDataSection#getLength <em>Length</em>}</li>
 *   <li>{@link org.mro.grib.model.files.firstEdition.sections.BinaryDataSection#getNumberOfUnusedBitsAtEndOfSection4 <em>Number Of Unused Bits At End Of Section4</em>}</li>
 *   <li>{@link org.mro.grib.model.files.firstEdition.sections.BinaryDataSection#getBinaryScaleFactorE <em>Binary Scale Factor E</em>}</li>
 *   <li>{@link org.mro.grib.model.files.firstEdition.sections.BinaryDataSection#getReferenceValue <em>Reference Value</em>}</li>
 *   <li>{@link org.mro.grib.model.files.firstEdition.sections.BinaryDataSection#getSizeOfPackedDatum <em>Size Of Packed Datum</em>}</li>
 *   <li>{@link org.mro.grib.model.files.firstEdition.sections.BinaryDataSection#getDataOffset <em>Data Offset</em>}</li>
 * </ul>
 * </p>
 *
 * @see org.mro.grib.model.files.firstEdition.sections.SectionsPackage#getBinaryDataSection()
 * @model
 * @generated
 */
public interface BinaryDataSection extends EObject {
	/**
	 * Returns the value of the '<em><b>Start Offset</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Start Offset</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Start Offset</em>' attribute.
	 * @see #setStartOffset(long)
	 * @see org.mro.grib.model.files.firstEdition.sections.SectionsPackage#getBinaryDataSection_StartOffset()
	 * @model required="true"
	 * @generated
	 */
	long getStartOffset();

	/**
	 * Sets the value of the '{@link org.mro.grib.model.files.firstEdition.sections.BinaryDataSection#getStartOffset <em>Start Offset</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Start Offset</em>' attribute.
	 * @see #getStartOffset()
	 * @generated
	 */
	void setStartOffset(long value);

	/**
	 * Returns the value of the '<em><b>End Offset</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>End Offset</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>End Offset</em>' attribute.
	 * @see #setEndOffset(long)
	 * @see org.mro.grib.model.files.firstEdition.sections.SectionsPackage#getBinaryDataSection_EndOffset()
	 * @model required="true"
	 * @generated
	 */
	long getEndOffset();

	/**
	 * Sets the value of the '{@link org.mro.grib.model.files.firstEdition.sections.BinaryDataSection#getEndOffset <em>End Offset</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>End Offset</em>' attribute.
	 * @see #getEndOffset()
	 * @generated
	 */
	void setEndOffset(long value);

	/**
	 * Returns the value of the '<em><b>Length</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Length</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Length</em>' attribute.
	 * @see #setLength(int)
	 * @see org.mro.grib.model.files.firstEdition.sections.SectionsPackage#getBinaryDataSection_Length()
	 * @model required="true"
	 * @generated
	 */
	int getLength();

	/**
	 * Sets the value of the '{@link org.mro.grib.model.files.firstEdition.sections.BinaryDataSection#getLength <em>Length</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Length</em>' attribute.
	 * @see #getLength()
	 * @generated
	 */
	void setLength(int value);

	/**
	 * Returns the value of the '<em><b>Number Of Unused Bits At End Of Section4</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Number Of Unused Bits At End Of Section4</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Number Of Unused Bits At End Of Section4</em>' attribute.
	 * @see #setNumberOfUnusedBitsAtEndOfSection4(byte)
	 * @see org.mro.grib.model.files.firstEdition.sections.SectionsPackage#getBinaryDataSection_NumberOfUnusedBitsAtEndOfSection4()
	 * @model required="true"
	 * @generated
	 */
	byte getNumberOfUnusedBitsAtEndOfSection4();

	/**
	 * Sets the value of the '{@link org.mro.grib.model.files.firstEdition.sections.BinaryDataSection#getNumberOfUnusedBitsAtEndOfSection4 <em>Number Of Unused Bits At End Of Section4</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Number Of Unused Bits At End Of Section4</em>' attribute.
	 * @see #getNumberOfUnusedBitsAtEndOfSection4()
	 * @generated
	 */
	void setNumberOfUnusedBitsAtEndOfSection4(byte value);

	/**
	 * Returns the value of the '<em><b>Binary Scale Factor E</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Binary Scale Factor E</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Binary Scale Factor E</em>' attribute.
	 * @see #setBinaryScaleFactorE(short)
	 * @see org.mro.grib.model.files.firstEdition.sections.SectionsPackage#getBinaryDataSection_BinaryScaleFactorE()
	 * @model required="true"
	 * @generated
	 */
	short getBinaryScaleFactorE();

	/**
	 * Sets the value of the '{@link org.mro.grib.model.files.firstEdition.sections.BinaryDataSection#getBinaryScaleFactorE <em>Binary Scale Factor E</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Binary Scale Factor E</em>' attribute.
	 * @see #getBinaryScaleFactorE()
	 * @generated
	 */
	void setBinaryScaleFactorE(short value);

	/**
	 * Returns the value of the '<em><b>Reference Value</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Reference Value</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Reference Value</em>' attribute.
	 * @see #setReferenceValue(int)
	 * @see org.mro.grib.model.files.firstEdition.sections.SectionsPackage#getBinaryDataSection_ReferenceValue()
	 * @model required="true"
	 * @generated
	 */
	int getReferenceValue();

	/**
	 * Sets the value of the '{@link org.mro.grib.model.files.firstEdition.sections.BinaryDataSection#getReferenceValue <em>Reference Value</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Reference Value</em>' attribute.
	 * @see #getReferenceValue()
	 * @generated
	 */
	void setReferenceValue(int value);

	/**
	 * Returns the value of the '<em><b>Size Of Packed Datum</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Size Of Packed Datum</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Size Of Packed Datum</em>' attribute.
	 * @see #setSizeOfPackedDatum(byte)
	 * @see org.mro.grib.model.files.firstEdition.sections.SectionsPackage#getBinaryDataSection_SizeOfPackedDatum()
	 * @model required="true"
	 * @generated
	 */
	byte getSizeOfPackedDatum();

	/**
	 * Sets the value of the '{@link org.mro.grib.model.files.firstEdition.sections.BinaryDataSection#getSizeOfPackedDatum <em>Size Of Packed Datum</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Size Of Packed Datum</em>' attribute.
	 * @see #getSizeOfPackedDatum()
	 * @generated
	 */
	void setSizeOfPackedDatum(byte value);

	/**
	 * Returns the value of the '<em><b>Data Offset</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Data Offset</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Data Offset</em>' attribute.
	 * @see #setDataOffset(long)
	 * @see org.mro.grib.model.files.firstEdition.sections.SectionsPackage#getBinaryDataSection_DataOffset()
	 * @model
	 * @generated
	 */
	long getDataOffset();

	/**
	 * Sets the value of the '{@link org.mro.grib.model.files.firstEdition.sections.BinaryDataSection#getDataOffset <em>Data Offset</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Data Offset</em>' attribute.
	 * @see #getDataOffset()
	 * @generated
	 */
	void setDataOffset(long value);

	/**
	 * 
	 * @param buffer
	 */
	void initialise(ByteBuffer buffer);
	
} // BinaryDataSection
